//
//  FMPlayerVC.h
//  NewMyMusicAPP
//
//  Created by 11_wyq on 15/6/21.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FMPlayerView.h"
#import "FMPlayerModel.h"
#import "AudioStreamer.h"
#import "STKAudioPlayer.h"

#import <MediaPlayer/MediaPlayer.h>
@interface FMPlayerVC : UIViewController<changeMusic>

@property(nonatomic,copy)NSString *title;
@property(nonatomic,copy)NSString *trackId;

@property(nonatomic,retain)FMPlayerView *FMPlayerV ;

@property(nonatomic,retain)FMPlayerModel *playerModel;


@property(nonatomic,retain)UILabel *myTitle;

@property(nonatomic,retain)NSMutableArray *Audio;//音频懒加载
@property(nonatomic,retain)NSIndexPath *indexPath;

@property(nonatomic,retain)NSURL *url;

@property (retain ,nonatomic) AudioStreamer *streamer;

@property (retain ,nonatomic)STKAudioPlayer *audioPlayer;
@property (assign ,nonatomic)NSInteger number;

@property (assign ,nonatomic)NSInteger count;//区分页面

@property (assign ,nonatomic)NSInteger row;

@property(nonatomic,assign)BOOL isCollection;//判断是否收藏

@property(nonatomic,copy)NSString *musicURL;

@property (nonatomic , copy)NSString *playUrl;



+(instancetype)shareHandleController;

-(void)getMassage;
-(void)clickToPlay; // 点击播放


@end
